var express = require('express');
var router = express.Router();

var conn = require("../public/js/conn");

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});

conn.connect(()=>{
  console.log("数据库已连接！")
});

module.exports = router;
